package cn.pid21.client.model.cstr;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * Submit Description
 *
 * @author yaol
 * @version datapid-md-service 1.0.0.RELEASE
 * <b>Creation Time:</b> 2021/4/14 16:56
 */
@Data
@ToString
public class Submit {
    /**
     * 提交机构名称
     */
    @NotBlank(message = "submitOrgName Is Not Empty")
    @JacksonXmlProperty(localName = "submit_org_name")
    private String submitOrgName;

    /**
     * 提交机构通信地址
     */
    @JacksonXmlProperty(localName = "submit_org_address")
    private String submitOrgAddress;

    /**
     * 提交机构邮政编码
     */
    @JacksonXmlProperty(localName = "submit_org_postcode")
    private String submitOrgPostcode;

    /**
     * 提交机构联系电话
     */
    @JacksonXmlProperty(localName = "submit_org_phone")
    private String submitOrgPhone;

    /**
     * 提交机构电子信箱
     */
    @JacksonXmlProperty(localName = "submit_org_email")
    private String submitOrgEmail;


}
